package com.skynet.supervision.beans.response.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class DeptUserItemResponse {

    @ApiModelProperty("组名")
    private String deptName;

    @ApiModelProperty("组id")
    private String deptId;

    @ApiModelProperty("成员列表")
    private List<UserItem> userList;

    @ApiModel
    @Data
    public static class UserItem{

        @ApiModelProperty("人员id")
        private String userId;

        @ApiModelProperty("人员姓名")
        private String name;

        @ApiModelProperty("职务")
        private String titles;
    }
}
